package jp.sourceforge.akjrcp.audiomerge;



import jp.sourceforge.akjrcp.text_douga.rcp.TextDougaView;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;

public class OpenAudioMergeView implements IWorkbenchWindowActionDelegate{
	public static Log log=LogFactory.getLog(OpenAudioMergeView.class);
	public static final String ID = OpenAudioMergeView.class.getName();
	public void dispose() {
		
	}

	public void init(IWorkbenchWindow window) {
		
	}

	public void run(IAction action) {
		IViewPart part;
		try {
			part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(OpenAudioMergeView.ID);
			
		} catch (PartInitException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		
	
		
	}

	public void selectionChanged(IAction action, ISelection selection) {

	}

}
